Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: OpenDoc Class Reference /
Part 1 - Classes and Methods / ODStorageUnit


GetType

The GetType method returns the type of the currently focused value.

ODValueType GetType ();
return value
The type of the currently focused value.
DISCUSSION
When you no longer need the returned value type, you should deallocate it.

EXCEPTIONS
kODErrUnfocusedStorageUnit
This storage unit is not focused on a value.
kODErrZeroRefCount
This storage unit has a reference count of 0.
SEE ALSO
The ODValueType type (page 904).
The ODStorageUnit::SetType method (page 713).
Listing 2-42 on page 101 in OpenDoc Cookbook.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
17 JUL 1996




Navigation graphic, see text links

Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help